Conversation
JoviDeCroock
left a comment
There was a problem hiding this comment.
Looks great! Should we convert this into a monorepo'ish structure to have some plugins that we offer (also as an inspiration to people who want to implement their own)?
|
Possibly - they have to be published independently of the main package, but that doesn't seem like a huge issue. In the case of this SSR thing I'm not sure if it's ready to be a proper plugin, was more of a way to keep the experiment working without landing it in core. |
|
Size Change: -41 B (0%) Total Size: 693 kB
ℹ️ View Unchanged
|
|
Should we revive this into a custom plugin? Do we expect a production server running, if so will we have output targets that make it easy to publish i.e. person wants a |
|
I have an idea for project where I'd need to SSR some pages on demand, and currently I'm on the fence if I should go with preact/wmr for it... I'd really love to, but I wish there was a decent way to do it without doing crazy hacks. Don't wanna go with Rails :) Not sure if it's useful but here's a +1 for this feature |
This adds support for
wmr.config.js, and uses it in the demo app to demonstrate an SSR middleware.ToDo:
prerender()export we support for prod prerendering